package com.zw.feign.impl;

import com.zw.domain.User;
import com.zw.feign.FeignUserClient;
import org.springframework.stereotype.Component;

@Component
public class UserClientImpl implements FeignUserClient {
    @Override
    public User getUserById(Long id) {
        return new User(-1l,"没得这个人","你等嘿儿再来嘛");
    }
}
